home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / libs / dslibrary.lha / ds.library / autodocs / clib / ds_protos.h
C/C++ Source or Header  |  1997-02-13  |  1KB  |  40 lines

  1. @DATABASE "clib/ds_protos.h"
  2. @MASTER   "Workbench31:MCPP4.0_PRO/Aminet/ds.library/autodocs//include/clib/ds_protos.h"
  3. @REMARK   This file was created by ADtoHT 2.1 on 13-Feb-97  20:07:57
  4. @REMARK   Do not edit
  5. @REMARK   ADtoHT is © 1993-1995 Christian Stieber
  6.  
  7. @NODE MAIN "clib/ds_protos.h"
  8.  
  9. @{"clib/ds_protos.h" LINK File}
  10.  
  11. @ENDNODE
  12. @NODE File "clib/ds_protos.h"
  13. /*
  14. **      $VER: ds_protos.h 37.0 (30.01.97)
  15. **
  16. **      prototypes for @{"ds.library" LINK "ds/MAIN"}
  17. **
  18. **      (C) Copyright 1997 Markus Hillenbrand
  19. **      All Rights Reserved.
  20. */
  21.  
  22. #ifndef CLIB_DS_PROTOS_H
  23. #define CLIB_DS_PROTOS_H
  24.  
  25. #ifndef LIBRARIES_DS_H
  26. #include <@{"libraries/ds.h" LINK "libraries/ds.h/File"}>
  27. #endif
  28.  
  29. /* These functions are available for all data structures */
  30.  
  31. /* These functions are useful with b trees on disk */
  32. int   DS_BTreeOpen      (@{"BTREE" LINK "libraries/ds.h/File" 24} *tree, char *fileName, int keySize, int dataSize, int (*compareFunction)(void *, void *));
  33. void  DS_BTreeClose     (@{"BTREE" LINK "libraries/ds.h/File" 24} t);
  34. int     DS_BTreeInsert          (@{"BTREE" LINK "libraries/ds.h/File" 24} t, void *key, void *data);
  35. int     DS_BTreeDelete          (@{"BTREE" LINK "libraries/ds.h/File" 24} t, void *key);
  36. int     DS_BTreeGetEntry        (@{"BTREE" LINK "libraries/ds.h/File" 24} t, void *key, void *mem);
  37.  
  38. #endif /* CLIB_DS_PROTOS_H */
  39. @ENDNODE
  40.